package service;


import dto.SysMenuDto;
import dto.SysRoleDto;
import util.ResponseVo;

import java.util.List;


public interface RoleService  {


    List<SysRoleDto> findUserRole(Long userid);


    ResponseVo addRole(SysRoleDto role, Long[] menuIds);

    ResponseVo updateRole(SysRoleDto role, Long[] menuIds);

    List<Long> findMenuByRole(Long id);

    ResponseVo deleteRole(Long roleId);
    List<SysRoleDto> selectTotal();

}
